package com.gufe.mapper.user.mp.quiz;

import com.gufe.entity.quiz.Competition;
import com.gufe.vo.quiz.CompetitionVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface CompetitionMapper {
    @Select("SELECT * FROM competition")
    List<CompetitionVO> findAll();

    Competition findById(Long id);
    // 其他方法
}